import { RequestParams, Method, ContentType } from "axios-mapper";
import request from "utils/http";
import { Result } from "model/base.model";
import { TestEntity } from "model/test.model";

export const fetchList = (data: any) => {
	return new Promise<Result<Array<TestEntity>>>((resolve, reject) => {
		resolve({
			code: 200,
			data: [
				{
					id: 0,
					name: "test",
					age: 0,
				},
			],
		});
	});
};
